package com.wxy.school.dto;

import com.wxy.school.entity.Orders;
import com.wxy.school.entity.OrdersOrDish;
import com.wxy.school.entity.Shop;
import com.wxy.school.entity.User;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 王祥宇
 * @projectName school
 * @packageName com.wxy.school.dto
 * @data 2023/3/8 16:24
 * @description: TODO
 * @version: 1.0
 */

@Data
public class OrdersDto extends Orders {
    private User user;

    private String phone;

    private List<ShoppingCartDto> shoppingCartDtoList = new ArrayList<>();

    private Shop shop;

    private List<OrdersOrDishDto> ordersOrDishDtoList = new ArrayList<>();
}
